package de.nenov.tutorials.designpatterns;

import org.apache.log4j.Logger;

import de.nenov.tutorials.designpatterns.observer.test.ObserverTest;
import de.nenov.tutorials.designpatterns.singleton.classic.test.ClassicSingletonTest;

/**
 * Start aller Design Patterns
 *  
 * @author Nikolay Nenov
 * @author <a target="_blank" href="http://design-patterns.tutorials.nenov.de">design-patterns.tutorials.nenov.de</a>
 * @version 1.0, 09.04.2010
 *
 */
public class MainDesignPatterns {
	
	private static Logger logger = Logger.getLogger(MainDesignPatterns.class);
	
	public static void main(String[] args) {
		
		logger.info("--- Classic Singleton Test ---");
		junit.textui.TestRunner.run(ClassicSingletonTest.class);

		logger.info("--- Observer Test ---");
		junit.textui.TestRunner.run(ObserverTest.class);
	}

}
